//
//  BN_PersonalHostPageView.m
//  BabyNow
//
//  Created by 刘泽琛 on 14-5-19.
//  Copyright (c) 2014年 iMobile. All rights reserved.
//

#import "BN_PersonalHostPageView.h"
#import <QuartzCore/QuartzCore.h>

@implementation BN_PersonalHostPageView

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)awakeFromNib {
    // 用户头像圆形
    UIImage * image = [UIImage imageNamed:@"userPhoto"];
    self.userPhotoImageView.image=  image;
    self.userPhotoImageView.layer.masksToBounds = YES;
    self.userPhotoImageView.layer.cornerRadius = 30;
    [self.userPhotoImageView.layer setBorderWidth:3];
    [self.userPhotoImageView.layer setBorderColor:[UIColor whiteColor].CGColor];
        
    // 用户名称
    self.userNameLabel.font = [UIFont fontWithName:@"Helvetica-Bold" size:16];;
    self.userNameLabel.textColor = [UIColor whiteColor];
    // 用户的宝宝|我的积分
    self.userBabyLabel.font = [UIFont systemFontOfSize:14];
    self.userBabyLabel.textColor = [UIColor whiteColor];
    
    // 修改用户信息
    [self.modifyInfoBtn addTarget:self action:@selector(modifyInfoAction:) forControlEvents:UIControlEventTouchUpInside];
}


#pragma mark
#pragma mark Action 
- (void)modifyInfoAction:(id)sender {

}

@end
